home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 2.iso / Pc / S_T / S2N.ZIP / S2NORMAL.BAT < prev    next >
DOS Batch File  |  1996-11-28  |  2KB  |  75 lines

  1. @Echo off
  2. cls
  3. Echo.
  4. Echo                   Installazione Patch Screamer 2 (v1.11)
  5. Echo                    per installazione normale (non rete)
  6. Echo.
  7.  
  8. rem -------- Check parameters ---------
  9. if "%1" == "" goto error1
  10. if "%2" == "" goto error1
  11. rem -----------------------------------
  12.  
  13. rem --- Check if directory exists -----
  14. if not exist %1:\%2\screamer.cfg goto error2
  15. rem -----------------------------------
  16.  
  17.  
  18. rem --- Normal procedure --------------
  19. Echo.
  20. Echo Installando patch per installazione normale
  21. Echo.
  22. Echo Attendere prego........
  23. copy s2_*.exe %1:\%2 > nul
  24. copy setupn.exe %1:\%2 > nul
  25. %1:
  26. cd \%2
  27. attrib start*.exe -r > nul
  28. if not exist startl.exe goto jump1
  29. del startl.exe
  30. s2_256l.exe > nul
  31. :jump1
  32. if not exist starth.exe goto jump2
  33. del starth.exe
  34. s2_256h.exe > nul
  35. :jump2
  36. if not exist start65l.exe goto jump3
  37. del start65l.exe
  38. s2_65kl.exe > nul
  39. :jump3
  40. if not exist start65h.exe goto jump4
  41. del start65h.exe
  42. s2_65kh.exe > nul
  43. :jump4
  44. del s2_*.exe
  45. del setup.exe
  46. setupn.exe > nul
  47. del setupn.exe > nul
  48. cls
  49. goto installed
  50. rem -----------------------------------
  51.  
  52. :installed
  53. Echo. 
  54. Echo Patch Installato
  55. Echo Se installi nuovamente Screamer 2, bisogna re-installare il patch.
  56. goto end
  57.  
  58. :error1
  59. cls
  60. echo Uso: S2NORMAL drive s2dir
  61. echo dove drive è il drive su cui Screamer 2 è installato
  62. echo e s2dir è la directory di Screamer 2.
  63. echo Esempio: S2NORMAL C S2 
  64. goto end
  65.  
  66. :error2
  67. cls
  68. echo La directory di Screamer 2 specificata (%1:\%2) non è stata
  69. echo trovata oppure l'installazione non è completa.
  70. echo Controlla il percorso specificato. Se il percorso è corretto
  71. echo dovresti installare nuovamente Screamer 2.
  72. goto end
  73.  
  74. :end
  75.